package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ly.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 施工工序设置对象 erp_working_step
 *
 * @author wutao
 * @date 2024-06-10
 */
@TableName("erp_working_step")
@ApiModel(value = "erp_working_step对象", description = "施工工序设置")
@Data
public class WorkingStepEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 施工工序设置主键id
     */
    @TableId(type = IdType.INPUT)
    private String id;

    /**
     * 分部分项类型id
     */
    @ApiModelProperty("分部分项类型id")
    @TableField("branch_id")
    @Excel(name = "分部分项类型id")
    private String branchId;

    /**
     * 工序步骤号
     */
    @ApiModelProperty("工序步骤号")
    @TableField("working_sort")
    @Excel(name = "工序步骤号")
    private String workingSort;

    /**
     * 工序步骤
     */
    @ApiModelProperty("工序步骤")
    @TableField("working_step")
    @Excel(name = "工序步骤")
    private String workingStep;

    /**
     * 删除标识
     */
    private String delFlag;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setBranchId(String branchId) {
        this.branchId = branchId;
    }

    public String getBranchId() {
        return branchId;
    }

    public void setWorkingSort(String workingSort) {
        this.workingSort = workingSort;
    }

    public String getWorkingSort() {
        return workingSort;
    }

    public void setWorkingStep(String workingStep) {
        this.workingStep = workingStep;
    }

    public String getWorkingStep() {
        return workingStep;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("branchId", getBranchId())
                .append("workingSort", getWorkingSort())
                .append("workingStep", getWorkingStep())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
